← Back to issue list

having prefix='' by default is non standard and confusing

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1590831
Type
issue
State
open
Author
~seb128
Labels
Created
2016-06-09 15:12:25.142474+00:00
Updated
2016-12-14 13:35:02.245697+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The autotools plugin default to an empty prefix if you install by destdir (which is default), that's quite non standard and can create confusion, is there any reason to not use the upstream default (/usr/local) or the distribution default (/usr)? I hit the issue while packaging gucharmap, the glib schemas got installed in $snap/share but the other schemas coming from the deb parts are in $snap/usr/share, our default wrapper set things to look in $snap/usr/share and it the program was not finding its schemas. Things works after using "configflags: [--prefix=/usr]" but ideally that would be the default

Evaluation history

No evaluation history available.